﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL
{
   public  class DMTaiKhoan
   {
       #region Properties
       private int _id;
       public int ID
       {
           get { return _id; }
           set { _id = value; }
       }

       private string _maDMTaiKhoan;
       /// <summary>
       /// Ma tai khoan
       /// </summary>
       public string MaDMTaiKhoan
       {
           get { return _maDMTaiKhoan; }
           set { _maDMTaiKhoan = value; }
       }

       private DMNhomNguoiDung _dMNhomNguoiDung;
       /// <summary>
       /// nhom nguoi dung cua tai khoan
       /// </summary>
       private DMNhomNguoiDung DMNhomNguoiDung
       {
           get { return _dMNhomNguoiDung; }
           set { _dMNhomNguoiDung = value; }
       }

       private string _tenDMTaiKhoan;
       /// <summary>
       /// Ten danh muc nhom nguoi dung
       /// </summary>
       public string TenDMTaiKhoan
       {
           get { return _tenDMTaiKhoan; }
           set { _tenDMTaiKhoan = value; }
       }

       private string _matKhau;
       /// <summary>
       /// Mat khau nguoi dung
       /// </summary>
       public string MatKhau
       {
           get { return _matKhau; }
           set { _matKhau = value; }
       }

       private string _moTa;
       /// <summary>
       /// Mo ta ve tai khoan neu co
       /// </summary>
       public string MoTa
       {
           get { return _moTa; }
           set { _moTa = value; }
       }
       #endregion

       public DMTaiKhoan(DMNhomNguoiDung DMNhomNguoiDung, string MaDMTaiKhoan, string MatKhau, string MoTa, string TenDMTaiKhoan)
       {
           this.DMNhomNguoiDung = DMNhomNguoiDung;
           this.MaDMTaiKhoan = MaDMTaiKhoan;
           this.MatKhau = MatKhau;
           this.MoTa = MoTa;
           this.TenDMTaiKhoan = TenDMTaiKhoan;
          // throw new System.NotImplementedException();
       }

       public DMTaiKhoan()
       {
           throw new System.NotImplementedException();
       }

       #region Methods
       
       #endregion

       #region Help
       
       #endregion
   }
}
